Syntax: getLandscapeMode(document)
Returns: TRUE if the document has a landscape orientation, otherwise FALSE
This command retrieves the page orientation of a document object. getLandscapeMode returns TRUE if the document has a landscape (horizontal) orientation.